package com.asia5b.a5mall.middleware.model.member

import com.asia5b.a5mall.middleware.model.base.BaseModel
import java.io.Serializable

/**
 * Created by zhangyuncai on 2020/3/21.
 */
class UserCouponModel : BaseModel() {
    var member_coupon_id = 0
    var coupon_id = 0
    var seller_id = 0
    var amount = 0.0
    var amount_list: HashMap<String, Double>? = null
    var end_time = 0L
    var use_term = ""

    var coupon_threshold_price = 0.0
    var coupon_threshold_price_list: HashMap<String, Double>? = null
    //是否可用 1/可用
    var enable = 0
    //是否被选中 1/被选中
    var selected = 0
}
/*
{
    "member_coupon_id": 264,
    "coupon_id": 35,
    "seller_id": 83,
    "amount": 20,
    "amount_list": {
        "price_rmb": 20,
        "price_myr": 12.5,
        "price_thb": 0,
        "price_idr": 0,
        "price_vnd": 0,
        "price_php": 0
    },
    "end_time": 1588262399,
    "use_term": "满100.0可用",
    "coupon_threshold_price": 100,
    "coupon_threshold_price_list": {
        "price_rmb": 100,
        "price_myr": 62.5,
        "price_thb": 0,
        "price_idr": 0,
        "price_vnd": 0,
        "price_php": 0
    },
    "enable": 1,
    "selected": 0,
    "error_msg": null
},
 */